import request from '@/utils/request'

// 查询3D疼痛模型结果列表
export function listModelResult(query) {
  return request({
    url: '/business/modelResult/list',
    method: 'get',
    params: query
  })
}

// 查询3D疼痛模型结果详细
export function getModelResult(id) {
  return request({
    url: '/business/modelResult/' + id,
    method: 'get'
  })
}

// 新增3D疼痛模型结果
export function addModelResult(data) {
  return request({
    url: '/business/modelResult',
    method: 'post',
    data: data
  })
}

// 修改3D疼痛模型结果
export function updateModelResult(data) {
  return request({
    url: '/business/modelResult',
    method: 'put',
    data: data
  })
}

// 删除3D疼痛模型结果
export function delModelResult(id) {
  return request({
    url: '/business/modelResult/' + id,
    method: 'delete'
  })
}
